package com.karson.common.model;



import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(defaultValue = "SystemAdmin", description = "后台用户表")
@TableName("ar_system_admin")
public class SystemAdmin {
    @Schema(description="后台管理员表ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @Schema(description="后台管理员账号")
    private String account;
    @Schema(description="后台管理员密码")
    private String pwd;
    @Schema(description="后台管理员角色")
    private String roles;
    @Schema(description="后台管理员姓名")
    private String realName;
    @Schema(description="后台管理员最后一次登录ip")
    private String lastIp;
    @Schema(description="后台管理员最后一次登录时间")
    private Date updatedAt;
    @Schema(description="后台管理员添加时间")
    private Date createdAt;
    @Schema(description="登录次数")
    private Integer loginCount;
    @Schema(description="后台管理员状态 1有效0无效")
    private Integer status;
    @Schema(description="")
    private Integer isDel;
    @Schema(description="手机号码")
    private String phone;
    @Schema(description="是否接收短信")
    private Integer isSms;
}
